package com.qidian.mes.qc.service.impl;/**
 * ClassName:CheckTemplateProductImpl
 * Package:com.qidian.mes.qc.service.impl
 **/

import com.qidian.mes.qc.mapper.CheckTemplateProductMapper;
import com.qidian.mes.qc.service.CheckTemplateProductService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author ppc
 * @Conpany study
 * @Description:
 * @Time 2024/4/11 14:28
 *
 **/
@Service
public class CheckTemplateProductServiceImpl implements CheckTemplateProductService {
    @Autowired
    private CheckTemplateProductMapper checkTemplateProductMapper;
    @Override
    public String queryCheckTemplateIdByProductId(Long productId) {
       return checkTemplateProductMapper.selectCheckTemplateIdByProductId(productId);
    }

    @Override
    public String queryCheckTemplateIdByProductName(String productName) {
       return checkTemplateProductMapper.selectCheckTemplateIdByProductName(productName);
    }
}
